package inherit.homework3;

public class Piano extends Instrument{
    public Piano() {
    }

    public Piano(String name) {
        super(name);
    }

    @Override
    public void play() {
        System.out.println(this.getName()+"正在演奏……");
    }
}